projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9fb8cf
)
(Ffile_attributes): Avoid compiler warning in bitshift.
author
Chong Yidong
<cyd@stupidchicken.com>
Wed, 27 Aug 2008 19:03:42 +0000
(19:03 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Wed, 27 Aug 2008 19:03:42 +0000
(19:03 +0000)
src/dired.c
patch
|
blob
|
history
diff --git
a/src/dired.c
b/src/dired.c
index be654670e9d1f3ebdc9613954320aaa48f8a473b..143e947760353ddfb55ff6c5317e4bfad267d56c 100644
(file)
--- a/
src/dired.c
+++ b/
src/dired.c
@@
-999,8
+999,10
@@
which see. */)
else
{
/* To allow inode numbers beyond 32 bits, separate into 2 24-bit
- high parts and a 16-bit bottom part. */
- EMACS_INT high_ino = s.st_ino >> 32;
+ high parts and a 16-bit bottom part.
+ The code on the next line avoids a compiler warning on some
+ systems (bug#766). */
+ EMACS_INT high_ino = s.st_ino >> 31 >> 1;
EMACS_INT low_ino = s.st_ino & 0xffffffff;
values[10] = Fcons (make_number (high_ino >> 8),